package com.bhs.sansong.ui.message;

import android.widget.TextView;

import com.bhs.sansong.R;
import com.bhs.sansong.base.BaseActivity;


/**
 * 圈子 我的/他的圈子
 */
public class CircleFriendsActivity extends BaseActivity {

    private TextView mTvTitle;

    @Override
    public int initLayout() {
        return R.layout.activity_circle_friends;
    }

    @Override
    public void initView() {
        mTvTitle = findViewById(R.id.tv_title);
    }

    @Override
    public void initData() {
        mTvTitle.setText("圈子");
        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.fragment_container,CircleFriendsFragment.newInstance(getIntent().getExtras()))   // 此处的R.id.fragment_container是要盛放fragment的父容器
                .commit();
    }
}